package com.entity;

/**
 * YourThread
 *
 * @author byc
 * @date 2022-04-21
 */
public class YourThread extends Thread{
    public void run(){
        System.out.println("YourThread 线程开始");
        for (int i = 0; i < 10; i++) {
            System.out.println(i + "b");
            try {
                sleep(900);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
        System.out.println("YourThread 线程结束");
    }

}
